STEP 17: If the user chose "c" the most, they are an athlete! Enter c for every question to test your code.

  • Click LOGIC, then . Drop elif unindented at the bottom of the code.
  • Change the test variable to result and the test value to c_num.
  • Click GRAPHICS, then . Drop Soccerfield inside the elif-statement.
  • From add Say inside the elif-statement as well.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)